@import 'src/app/common/styles/variable/index.scss';
@import 'src/app/common/styles/mixin/index.scss';
@import 'src/app/common/styles/components/tags.scss';
@import 'src/app/common/styles/components/label-value.scss';
.block {
  margin-bottom: $gutter;
  padding: 0 $pagePadding;
  background: #fff;
  .pubtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    .left {
      font-size: 0.2rem;
      height: 0.2rem;
      line-height: 0.2rem;
    }
    .right {
      color: $font4;
      font-size: 0.12rem;
      .icon {
        margin-left: 0.04rem;
        font-size: 0.12rem;
      }
    }
  }
  .oprbar {
    padding: 0.24rem 0 0.12rem;
    .btn {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 0.36rem;
      img {
        margin-right: 0.12rem;
        @include square(0.2rem);
      }
      span {
        height: 0.2rem;
        line-height: 0.22rem;
      }
    }
  }
}
.slider {
  position: relative;
  .item {
    width: 100%;
    height: 2.3rem;
    img {
      display: block;
      width: 100%;
      height: 100%;
    }
  }
  .price-index {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    .price {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-left: 0.12rem;
      width: 1.08rem;
      height: 0.5rem;
      color: #fff;
      background: #fd5050;
      .label {
        font-size: 0.1rem;
      }
      .value {
        display: flex;
        align-items: center;
        margin-top: 0.02rem;
        .num {
          margin-right: 0.04rem;
          font-size: 0.18rem;
          line-height: 0.18rem;
          font-weight: 700;
        }
        .unit {
          font-size: 0.1rem;
          line-height: 0.1rem;
        }
      }
    }
    .index {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 0.64rem;
      height: 0.5rem;
      font-size: 0.1rem;
      color: #fff;
      background: rgba(0, 0, 0, 0.5);
      .label {
        margin-bottom: 0.04rem;
      }
    }
  }
}
.baseinfo {
    padding-bottom: 0.12rem;
  .namebox {
    // display: flex;
    align-items: center;
    padding-top: 0.16rem;
    .name {
      margin-right: 0.12rem;
      font-size: 0.22rem;
    }
    .Alias{
        padding-top:.1rem;
        color: #999;
        font-size: 0.12rem;
 
    }
  }
  .advantage {
    margin: 0.12rem 0;
  }
  .common-label-value {
    padding: 0;
    .list {
      padding-bottom: 0;
    }
  }

  .oprbar {
    margin-top: 0 !important;
    .btn {
      color: $font1;
      background: $bg;
    }
  }
}
.houseLink{
    border-top: 1px solid rgba(220, 220, 220, 0.4);
    background-color: #fff;
    display: flex;
    padding: 0.12rem 0.16rem;
    margin-bottom: 0.12rem;
    .label2{
        width: 0.44rem;
        color: #999999;
    }
    .value{
        flex: 1;
        color:#BE9E63;

    }
}
.activity {
  .content {
    padding-bottom: $pagePadding;
    .oprbox {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .titlebox {
        display: flex;
        align-items: center;
        .type {
          @include radius(0.18rem, 0.02rem);
          margin-right: 0.1rem;
          font-size: 0.12rem;
          color: #fff;
          background: #f43b3b;
        }
        .title {
          font-size: 0.16rem;
        }
      }
      .btn {
        padding: 0.04rem 0.08rem;
        font-size: 0.12rem;
        color: $primary;
        border: 1px solid $primary;
      }
    }
    .desc,
    .timebox {
      padding-left: 0.28rem;
      font-size: 0.12rem;
      line-height: 1.8;
    }
    .desc {
      margin: 0.12rem 0;
    }
    .timebox {
      color: $font3;
      .lefttime,
      .number {
        color: $primary;
      }
      .lefttime {
        margin-right: 0.24rem;
      }
    }
  }
}
.news {
  .content {
    padding-bottom: 0.2rem;
  }
}
.test {
  .content {
    display: flex;
    padding-bottom: 0.2rem;
    img {
      margin-right: 0.12rem;
      display: block;
      width: 1rem;
      height: 0.8rem;
      border-radius: 0.02rem;
    }
    .txt {
      flex: 1;
      font-size: 0.13rem;
      line-height: 0.17rem;
    }
  }
}
.type {
  .content {
    overflow: hidden;
    .list {
      display: flex;
      padding-bottom: 0.2rem;
      overflow-x: auto;
      overflow-y: hidden;
      .item {
        margin-right: 0.32rem;
        .imgbox {
          position: relative;
          margin-bottom: 0.08rem;
          img {
            width: 1.4rem;
            height: 1rem;
            border-radius: 0.02rem;
            border: 1px solid #f5f5f5;
          }
          .tag {
            position: absolute;
            top: 0;
            left: 0;
            padding: 0.02rem 0.08rem;
            font-size: 0.1rem;
            color: #fff;
            background: $primary;
            border-radius: 0.02rem 0 0 0;
          }
        }
        .price {
          margin: 0.08rem 0;
          color: #ff2a2a;
        }
        .status {
          padding: 0.02rem 0.04rem;
          font-size: 0.1rem;
          color: #f9637f;
          background: #fff2f4;
        }
      }
    }
  }
}
.comment {
  .oprbar {
    .btn {
      color: #ee4538;
      background: #fff4f2;
    }
  }
}
.question {
  .content {
    .q,
    .a {
      display: flex;
      align-items: center;
      .label {
        margin-right: 0.12rem;
        font-size: 0.12rem;
        color: #fff;
        @include radius(0.18rem, 0.02rem);
      }
    }
    .q {
      margin-bottom: 0.12rem;
      .label {
        background: #e74c3c;
      }
    }
    .a {
      .label {
        background: #51b598;
      }
    }
  }
  .oprbar {
    .btn {
      color: #36b892;
      background: #eefaf6;
    }
  }
}
.around {
  display: none;
  padding: 0;
  .pubtitle {
    padding-left: $pagePadding;
    padding-right: $pagePadding;
  }
  .content {
    .map {
      display: block;
      width: 100%;
      height: 1.4rem;
    }
    .oprbar {
      display: flex;
      padding: 0.12rem 0;
      .item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 1;
        img {
          margin-bottom: 0.08rem;
          width: auto;
          height: 0.22rem;
        }
        .name {
          font-size: 0.12rem;
        }
      }
    }
  }
}
.chart {
  display: none;
  .content {
    height: 1.9rem;
  }
}
.estates {
  margin-bottom: 0;
  padding: 0;
  .pubtitle {
    padding-left: $pagePadding;
    padding-right: $pagePadding;
  }
  .content {
    .item {
      margin-left: $pagePadding;
      padding: $pagePadding $pagePadding $pagePadding 0;
      &:first-child {
        padding-top: 0;
      }
    }
  }
}


.tags {
    display: flex;
    flex-wrap: wrap;
    margin-top:0 !important;
    .tag{
        margin-top: .08rem;
    }
  }
  